//
//  zhuyeVC.m
//  qulvyou
//
//  Created by mmyy on 15/10/22.
//  Copyright (c) 2015年 mmyy. All rights reserved.
//

#import "zhuyeVC.h"

#import "SCNavTabBarController.h"

#import "JincaVC.h"


#import "currentdayVC.h"
@interface zhuyeVC ()

@end

@implementation zhuyeVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.title = @"主页";
    JincaVC *twoViewController = [[JincaVC alloc] init];
    twoViewController.title = @"精彩游记";
    twoViewController.view.backgroundColor = [UIColor purpleColor];
    currentdayVC *threeViewController = [[currentdayVC alloc] init];
    threeViewController.title = @"故事精选";
    SCNavTabBarController *navTabBarController = [[SCNavTabBarController alloc] init];
    navTabBarController.subViewControllers = @[twoViewController, threeViewController];
//    navTabBarController.navTabBarLineColor = [UIColor whiteColor];
    navTabBarController.navTabBarColor = [UIColor purpleColor];
    //    navTabBarController.
    [navTabBarController addParentController:self];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
